From: Florian Müllner Date: Fri, 19 Oct 2012 18:03:05 +0000 (+0200) Subject: workspacesView: Fix typo X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5566 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=96a80f7ba0d510bd38e90bf0f7d436018849cb9e;p=gnome-shell.git workspacesView: Fix typo We want to check for a setting, not the existence of a function. https://bugzilla.gnome.org/show_bug.cgi?id=686487 --- diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 811432758..c5c1e672e 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -928,7 +928,7 @@ const WorkspacesDisplay = new Lang.Class({ let monitors = Main.layoutManager.monitors; let m = 0; for (let i = 0; i < monitors.length; i++) { - if (this._workspacesOnlyOnPrimaryChanged && + if (this._workspacesOnlyOnPrimary && i != this._primaryIndex) continue;